(1) if the other person is a qualifying partnership,(a) all or substantially all of the interest in the other person is held byi. the particular partnership,
ii. a corporation resident in Québec, or a qualifying partnership, that is a member of a qualifying group of which the particular partnership is a member, or
iii. any combination of corporations or partnerships referred to in subparagraphs i and ii, or
(b) the particular partnershipi. owns at least 90% of the value and number of the issued and outstanding shares, having full voting rights under all circumstances, of the capital stock of a corporation resident in Québec that is a member of a qualifying group of which the other person is a member, or
ii. holds all or substantially all of the interest in a qualifying partnership that is a member of a qualifying group of which the other person is a member; and
(2) if the other person is a corporation,(a) at least 90% of the value and number of the issued and outstanding shares, having full voting rights under all circumstances, of the capital stock of the other person are owned byi. the particular partnership,
ii. a corporation resident in Québec, or a qualifying partnership, that is a member of a qualifying group of which the particular partnership is a member, or
iii. any combination of corporations or partnerships referred to in subparagraphs i and ii,
(b) at least 90% of the value and number of the issued and outstanding shares, having full voting rights under all circumstances, of the capital stock of a corporation resident in Québec are owned byi. the other person, if the corporation is a member of a qualifying group of which the particular partnership is a member, or
ii. the particular partnership, if the corporation is a member of a qualifying group of which the other person is a member,
(c) all or substantially all of the interest in the particular partnership is held byi. the other person,
ii. a corporation resident in Québec, or a qualifying partnership, that is a member of a qualifying group of which the other person is a member, or
iii. any combination of corporations or partnerships referred to in subparagraphs i and ii, or
(d) all or substantially all of the interest in a qualifying partnership is held byi. the other person, if the qualifying partnership is a member of a qualifying group of which the particular partnership is a member, or
ii. the particular partnership, if the qualifying partnership is a member of a qualifying group of which the other person is a member.